package com.pearl.generator.pojo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author TangDan
 * @version 1.0
 * @since 2022/8/8
 */
@Data
public class MapperConfigRequest {

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("设置父类，com.baomidou.global.BaseMapper")
    private String superClass;

    @ApiModelProperty("开启 @Mapper 注解，默认值:false")
    private String enableMapperAnnotation;

    @ApiModelProperty("启用 BaseResultMap 生成，默认值:false")
    private String enableBaseResultMap;

    @ApiModelProperty("启用 BaseColumnList，默认值:false")
    private String enableBaseColumnList;

    @ApiModelProperty("设置缓存实现类，MyMapperCache.class")
    private String cache;

    @ApiModelProperty("转换 mapper 类文件名称")
    private String convertMapperFileName;

    @ApiModelProperty("转换 xml 文件名称")
    private String convertXmlFileName;

    @ApiModelProperty("格式化 mapper 文件名称")
    private String formatMapperFileName;

    @ApiModelProperty("格式化 xml 实现类文件名称")
    private String formatXmlFileName;
}
